import request from '@/utils/request'

// 查询高校列表
export function listVfCollege(query) {
  return request({
    url: '/system/vfCollege/list',
    method: 'get',
    params: query
  })
}

// 查询高校详细
export function getVfCollege(collegeId) {
  return request({
    url: '/system/vfCollege/' + collegeId,
    method: 'get'
  })
}

// 新增高校
export function addVfCollege(data) {
  return request({
    url: '/system/vfCollege',
    method: 'post',
    data: data
  })
}

// 修改高校
export function updateVfCollege(data) {
  return request({
    url: '/system/vfCollege',
    method: 'put',
    data: data
  })
}

// 删除高校
export function delVfCollege(collegeId) {
  return request({
    url: '/system/vfCollege/' + collegeId,
    method: 'delete'
  })
}
